HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/platform/gsutil/third_party/argcomplete/Makefile
SHELL=/bin/bash

test_deps:
	python -m pip install .[test]

lint:
	for dir in $$(dirname */__init__.py); do ruff check $$dir; done
	for script in scripts/*[^cmd]; do if grep -q python $$script; then ruff check $$script; fi; done
	mypy --install-types --non-interactive argcomplete

test:
	coverage run --source=argcomplete --omit=argcomplete/packages/_shlex.py ./test/test.py -v

init_docs:
	cd docs; sphinx-quickstart

docs:
	python -m pip install furo sphinx-copybutton sphinxext-opengraph
	sphinx-build docs docs/html

install: clean
	python -m pip install build
	python -m build
	python -m pip install --upgrade $$(echo dist/*.whl)[test]

clean:
	-rm -rf build dist
	-rm -rf *.egg-info

.PHONY: test_deps lint test docs install clean

include common.mk